This software is copyright (C) 2012 Todd T Knarr  <tknarr@silverglass.org> <tknarr@cox.net> <todd.knarr@gmail.com>
It is licesnsed under the terms of the GPL v3 or any later version.
See the included file gpl-v3.txt for the complete license terms.

Internal documentation:

Classes: one class per game class, organized by archtypes.

Spell lines:
	Per class
	Each line has a name, a tooltip and a set of spells
		Each spell has a name and a level it's acquired at
	Each line can also have macro entries, which are at level 0 and are literal commands
	The following substitutions should be allowed:
			%t, %T : Parent.Target
			%i, %I : Parent.Target.Target
		Substitution should occur when writing the UI XML out, so we can use different substitutions depending on output
	Macros occur before spells

Button assignments:
	Per class
	5 buttons, numbered 1-5
	Each button is assigned a spell line, or is empty

Data storage:
	QRB XML is stored in the application's data folder.
	Generated UI files are stored in My Documents by default.
	If generated UI file folder is changed, location should be remembered.
Settings:
	StorageFolder:		Location of the storage file. Defaults to QuickRaidButtons underneath the application data directory.
	StorageFilename:	Name of the storage file. Defaults to QRBStorage.xml
	UIFileFolder:		Location of the file the UI code is written to. Defaults to the My Documents folder, may be changed by the user.
	UIFilename:			Name of the UI code file. Defaults to _ProfitUI_QuickRaidButtons.txt, may be changed by the user.

XML organization:

<QuickRaidButtons>

	<Spells>
		<SpellClass class="classname">
			<SpellLine name="linename">
				<Tooltip>Tooltip text</Tooltip>
				<Spell>
					<Level>level</Level>
					<Text>Text of spell name to cast, or literal command if level is 0</Text>
				</Spell>
				.
				.
				.
			</SpellLine>	
			.
			.
			.
		</SpellClass>
		.
		.
		.
	</Spells>

	<ButtonAssignments>
		<ButtonClass class="classname">
			<Button number="number">
				<SpellLineName>spell line name</SpellLineName>
			</Button>
			.
			.
			.
		</ButtonClass>
		.
		.
		.
	</ButtonAssignments>

</QuickRaidButtons>